|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectga.view.interfaces.MouseListener
ga.view.appstate.menu.MenuState.MenuMouseListener
private class MenuState.MenuMouseListener
Mouse listener that handles clicks on the menu elements.
Constructor Summary | |
---|---|
private |
MenuState.MenuMouseListener()
|
Method Summary | |
---|---|
void |
onAction(java.lang.String name,
boolean keyPressed,
boolean isDoubleClick,
float tpf)
Callback method for mouse events. |
Methods inherited from class ga.view.interfaces.MouseListener |
---|
isEnabled, onAction, setEnabled |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
private MenuState.MenuMouseListener()
Method Detail |
---|
public void onAction(java.lang.String name, boolean keyPressed, boolean isDoubleClick, float tpf)
MouseListener
onAction
in class MouseListener
name
- Name of the action.keyPressed
- true
if the key is still pressed.isDoubleClick
- true
if it is a double click.tpf
- The time per frame.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |